import request  from "@/utils/request"

//获取文章  @param {string|number}  channel_id 频道id
//@param {number} timestamp 时间戳 请求新的推荐数据到当前
//@returns

export const getArticlesAPI = ( channel_id, timestamp) => {
    return request({
        url:'/v1_0/articles',
        params:{
            channel_id,
            timestamp
        }
    })
}